package com.un.web.topic.domian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.un.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* @Author xingjian
* @Date 2023-02-01
**/

/**
    * java_topic
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "topic_java")
public class TopicJava extends BaseEntity {


    @TableField(value = "hits")
    private Integer hits;

    /**
     * 题目内容
     */
    @TableField(value = "title")
    private String title;

    /**
     * 题目类型id
     */
    @TableField(value = "topic_type_id")
    private Integer topicTypeId;

    /**
     * 创建人id
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 难易程度
     */
    @TableField(value = "complexity")
    private Integer complexity;


    /**
     * 点赞数
     */
    @TableField(value = "praise_count")
    private Integer praiseCount;

    /**
     * 评论数
     */
    @TableField(value = "comment_count")
    private Integer commentCount;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(value = "`label`")
    private String label;

    @TableField(value = "collect_count")
    private Integer collectCount;

    private Integer checkStatus;
}